<?php
	class cbdtcontroller
	{
		public $cbdt_ma = "";
		public $cbdt_ten = "";
		public $cbdt_tendangnhap = "";
		public $cbdt_makhau = "";
		public $cbdt_ngaysinh = "";
		public $cbdt_khoahoc = "";
		
		public function Them()
		{
			$data = new cbdtdata();
			return $data->Them($this->cbdt_ma, $this->cbdt_ten, $this->cbdt_tendangnhap,$this->cbdt_makhau, $this->cbdt_ngaysinh, $this->cbdt_khoahoc);
		}
		
		public function CapNhat()
		{
			$data = new cbdtdata();
			return $data->CapNhat($this->cbdt_ma, $this->cbdt_ten, $this->cbdt_tendangnhap,$this->cbdt_makhau, $this->cbdt_ngaysinh, $this->cbdt_khoahoc);
		}
		
		public function Xoa()
		{
			$data = new cbdtdata();
			return $data->Xoa($this->cbdt_ma);
		}
		
		public function LayDanhSach()
		{
			$data = new cbdtdata();
			return $data->LayDanhSach($this->cbdt_ma);
		}
	}
?>